package person

import (
	"github.com/gin-gonic/gin"
	"zk2/internal/handler"
	"zk2/internal/middleware"
)

func PersonRouter(group *gin.RouterGroup) {
	personHandler := handler.NewPersonHandler()
	group.GET("/list", middleware.LoginMiddleWare, personHandler.List)
}
